import urllib
import urllib2
import cookielib
import bs4
from bs4 import  BeautifulSoup

request = urllib2.Request("http://dl.meituan.com/meishi/c17/renqi/")
request.add_header('User-Agent','Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36')
response = urllib2.urlopen(request)

# data = urllib.urlencode(values)
# request = urllib2.Request("http://dl.meituan.com/meishi/c17/",data,headers)
# response = urllib2.urlopen(request)
html = response.read()
# print html
soup = BeautifulSoup(html)
print soup.prettify()